package com.itheima.Day02test01;

public class motorbike extends motorvehicles {
    public motorbike() {
    }

    public motorbike(String brand, String price) {
        super(brand, price);
    }

    @Override
    public void method1() {
        System.out.println("这是一个摩托车类");
    }
}
